package org.mzy.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Package: org.mzy.user.dto
 * @ClassName: EmailRegisterDto
 * @Date:2022/10/20 9:11
 * @Description:
 */
@Data
public class EmailRegisterDto {
    // 邮箱
    @NotBlank(message = "邮箱不能为空")
    private String email;
    // 邮箱验证码
    @NotBlank(message = "短信验证码不能为空")
    private String emailCode;
    // 密码
    @NotBlank(message = "密码不能为空")
    private String password;
    // 确认密码
    @NotBlank(message = "确认密码不能为空")
    private String passwordRepeat;
}
